from internal_page import InternalPage

class FilmAddPage(InternalPage):


    def field(self, field_name):
        return self.driver.find_element_by_name(field_name)

    @property
    def submit(self):
        return self.driver.find_element_by_id("submit")

    @property
    def err_msg(self):
        return self.driver.find_elements_by_class_name("error")[1]